package com.flyduck.annotation.entity;

import com.flyduck.annotation.annotation.DbFieldProperty;

import java.util.Date;


public class AutoUser {
    @DbFieldProperty(value = "id", name = "id", clazz = String.class)
    private String id;

    @DbFieldProperty(value = "user_name", name = "用户名")
    private String userName;

    @DbFieldProperty(value = "password", name = "密码")
    private String password;

    @DbFieldProperty(value = "phone_number", name = "手机号")
    private String phoneNumber;

    @DbFieldProperty(value = "real_name", name = "姓名")
    private String realName;

    @DbFieldProperty(value = "email", name = "邮箱")
    private String email;

    @DbFieldProperty(value = "status", name = "状态", clazz = Integer.class)
    private Integer status;

    @DbFieldProperty(value = "is_delete", name = "删除")
    private Integer delete;

    @DbFieldProperty(value = "create_date", name = "创建时间", clazz = Date.class)
    private Date createDate;

    @DbFieldProperty(value = "update_date", name = "更新时间")
    private Date updateDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return "AutoUser{" +
                "id='" + id + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", realName='" + realName + '\'' +
                ", email='" + email + '\'' +
                ", status=" + status +
                ", delete=" + delete +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                '}';
    }
}